package lab02.test07;

/**
 * Created by leovo on 2017/10/19.
 */
public class Text {
    public static void main(String[] args) {
        Person din=new Person();
        din.name="dinqian";
        din.age=20;
        din.vcard="6373284";

        System.out.println(din.getString());

        Student qian=new Student();
        qian.name="qian";
        qian.age=20;
        qian.vcard="748329";
        qian.sno="169619";
        qian.university="四川旅游学院";

        System.out.println(qian.getString());
    }
}
